feat: General cleanup of legacy Studio page waffle flags and related code#38424
Merged
Conversation
a7f131e to
cdf4005
Compare
52 tasks
4fa8991 to
2514cb6
Compare
f89158d to
5031a59
Compare
… code. Remove the waffle flags and helper functions for all legacy Studio pages that have been replaced by the Authoring MFE: - legacy_studio.schedule_details - legacy_studio.advanced_settings - legacy_studio.grading - legacy_studio.import - legacy_studio.export - legacy_studio.course_team - legacy_studio.certificates - legacy_studio.configurations Also removes the course_waffle_flags REST API endpoint (GET /api/contentstore/v1/course_waffle_flags) and its serializer, view, and tests, as these only existed to expose the now-removed flags. Simplifies URL helpers in utils.py to unconditionally return MFE URLs. This work is part of #36108 BREAKING CHANGE: All of the above waffle flags are removed. The GET /api/contentstore/v1/course_waffle_flags endpoint is removed.
5031a59 to
bc589aa
Compare
farhan
approved these changes
May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request primarily refactors utility functions in
cms/djangoapps/contentstore/utils.pyto simplify and standardize how URLs for various course authoring microfrontend pages are constructed and returned. Additionally, it includes some minor cleanup in the toggles file by removing unnecessary blank lines.Refactoring and simplification of URL utility functions:
get_schedule_details_url,get_advanced_settings_url,get_grading_url,get_course_team_url,get_import_url,get_export_url,get_certificates_url, andget_group_configurations_url) by assigning the constructed URL to a variable and returning it if the base URL exists, otherwise returningNone. This improves readability and consistency across these functions. [1] [2] [3] [4]Code cleanup:
cms/djangoapps/contentstore/toggles.pyto tidy up the code. [1] [2]